package com.ruis.kotboot.common.filter

import javax.servlet.*
import javax.servlet.http.HttpServletRequest

class RuisXssFilter :Filter {

    override fun init(filterConfig: FilterConfig?) {
    }
    override fun destroy() {
    }

    override fun doFilter(request: ServletRequest, response: ServletResponse, chain: FilterChain) {
        chain.doFilter(RuisXssWrapper(request as HttpServletRequest) , response)
    }
}